﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Plugin.Widgets.ForumLast.Models
{
    public class ConfigurationModel : BaseNopModel
    {
        public int WidgetsZoneId { get; set; }
        [NopResourceDisplayName("Plugins.Widgets.ForumLast.WidgetsZone")]
        public SelectList WidgetsZoneValues { get; set; }


        [NopResourceDisplayName("Plugins.Widgets.ForumLast.Publish")]
        public bool Publish { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.DisplayOrder")]
        public int DisplayOrder { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.SetNewsItemHeight")]
        public bool SetNewsItemHeight { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.NewsItemHeight")]
        public int NewsItemHeight { get; set; }

        //script
        public int DirectionId { get; set; }
        [NopResourceDisplayName("Plugins.Widgets.ForumLast.Direction")]
        public SelectList DirectionValues { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.Visible")]
        public int Visible { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.Interval")]
        public int Interval { get; set; }

        [NopResourceDisplayName("Plugins.Widgets.ForumLast.ShowNavigation")]
        public bool ShowNavigation { get; set; }

    }
}